import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class ListSeparator extends StatelessWidget {

  final double height;
  final double indent;
  final double endIndent;
  final Color color;

  ListSeparator({
    this.height = 1,
    this.indent = 60,
    this.endIndent = 10,
    this.color= Colors.black12,
  });

  @override
  Widget build(BuildContext context) {
    return Opacity(opacity: 0.4, child: Divider(
      height: height,
      indent: indent,
      endIndent: endIndent,
      color: color,
    ),);
  }
}